<?php
// +----------------------------------------------------------------------
// | ManniuRead
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://manniuyun.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: heitao <read@manniuyun.com>
// +----------------------------------------------------------------------

namespace app\mall\controller;

use app\mall\base\MallFrontBase;

use app\mall\model\MallGoods;

class Index extends MallFrontBase{
	/**
     * 首页
     * @access public
     * @return \think\Response
     */
    public function index(){
        $list = MallGoods::all();
    	$this->assign([
            'seo_title'         => '首页',
            'seo_keywords'      => '关键词',
            'seo_description'   => '描述',
            'list'              => $list
        ]);

        return $this->getTemplate();
    }
}